<template>
  <a href="javascript:void(0)" class="nav-link">
    <slot>
      <i>链接</i>
      <!-- 插槽的默认值 -->
    </slot>
    <!--    <h1>before</h1>-->
    <!--    <h2>after</h2>-->
  </a>
  <!--  <a
    href="javascript:void(0)"
    class="nav-link"
  >
    <img :src="src" alt="" />
  </a>-->

  <!--  <a
    href="javascript:void(0)"
    class="nav-link"
  >
    {{ text }}
  </a>-->
</template>

<script>
export default {
  name: "NavigationLink",
  props: ["text", "src"],
  /*mounted() {
    console.log(this.count)
  }*/
};
</script>

<style scoped></style>
